home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / m17n / te-pothana.mim < prev    next >
Text File  |  2009-04-29  |  5KB  |  207 lines

  1. ;; te-pothana.mim -- Telugu input method proposed by  Thirumala Krishna Desikachari along with Pothana font for Windows environments.
  2. ;; Adapted by Arjuna Rao Chavala (arjunaraoc@googlemail.com) for SCIM-m17n input method based on itrans.mim with minor modifications
  3. ;; This file (to be included in m17n-library) is free software; you can redistribute it and/or
  4. ;; modify it under the terms of the GNU Lesser General Public License
  5. ;; as published by the Free Software Foundation; either version 2.1 of
  6. ;; the License, or (at your option) any later version.
  7.  
  8. ;; This is distributed in the hope that it will be useful,
  9. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  11. ;; Lesser General Public License for more details.
  12.  
  13. ;; You should have received a copy of the GNU Lesser General Public
  14. ;; License along with the m17n library; if not, write to the Free
  15. ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  16. ;; 02111-1307, USA.
  17.  
  18. (input-method te pothana)
  19.  
  20. (description 
  21. "pothana Telugu input method Version 2.0 date 24 Nov 2007
  22. Telugu input method by Pothana layout and transliteration 
  23. (key pairs have fixed one to one mapping), originally proposed by
  24. Thirumala Krishna Desikachari along with Pothana font for Windows 
  25. environments. 
  26. For the detail of Pothana layout, see the telugu wikipedia page 
  27. on Pothana font and download the paper available in that page
  28. http://te.wikipedia.org/w/index.php?title=%E0%B0%AA%E0%B1%8B%E0%B0%A4%E0%B0%A8_%28%E0%B0%AB%E0%B0%BE%E0%B0%82%E0%B0%9F%E0%B1%81%29&oldid=188094.
  29. the key mappings are in the last two pages of the paper.
  30. Alt Key gives third level characters and 
  31. Alt+shift key gives fourth level characters
  32. Tested on Fedora core 6 under KDE with default US keyboard layout
  33. Please give feedback/bugs to arjunaraoc@googlemail.com.
  34. #change from previous version
  35. base characters now give vowel endings than halanth
  36. Thanks for your help
  37. ")
  38.  
  39.  
  40. (title "α░¬α▒ï")
  41.  
  42. (map
  43.  (starter
  44.   ((S-\ )) ((C-@))
  45.   ((M-0)) ((M-1)) ((M-2)) ((M-3)) ((M-4))
  46.   ((M-5)) ((M-6)) ((M-7)) ((M-8)) ((M-9))
  47.  ((M-q)) ((M-e)) ((M-r)) ((M-y)) ((M-u)) ((M-i)) ((M-o)) ((M-[)) ((M-]))
  48.   ((M-a))
  49. ;; ((M-l)) to determine unicode
  50.   ((M-;)) ((M-'))
  51.   ((M-,)) ((M-.))
  52. ;;  ((M-/)) avagraha
  53.   ((M-E)) 
  54. ;;  ((S-M-Y)) need to check what 
  55.  ((M-U)) ((M-I)) ((M-O)) ((M-[))
  56.  
  57.   ("{") ("}")
  58.   ("[") ("]")
  59.  
  60.   ("A") ("B") ("C") ("D") ("E") ("F") ("G") ("H") ("I") ("J") ("K") ("L")
  61.   ("M") ("N") ("O") ("P") ("Q") ("R") ("S") ("T") ("U") ("V") ("W") ("X") ("Y") ("Z")
  62.   ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
  63.   ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
  64.   ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z"))
  65.  
  66.  (consonant
  67.   ("k" "α░ò")
  68.   ("K" "α░û")
  69.   ("g" "α░ù")
  70.   ("G" "α░ÿ")
  71.   ("c" "α░Ü")
  72.   ("C" "α░¢")
  73.   ("j" "α░£")
  74.   ("J" "α░¥")
  75.   ("t" "α░ƒ")
  76.   ("T" "α░á")
  77.   ("z" "α░í")
  78.   ("Z" "α░ó")
  79.   ("N" "α░ú")
  80.   ("w" "α░ñ")
  81.   ("W" "α░Ñ")
  82.   ("d" "α░ª")
  83.   ("D" "α░º")
  84.   ("n" "α░¿")
  85.   ("p" "α░¬")
  86.   ("P" "α░½")
  87.   ("b" "α░¼")
  88.   ("B" "α░¡")
  89.   ("m" "α░«")
  90.   ("y" "α░»")
  91.   ("r" "α░░")
  92.   ("R" "α░▒")
  93.   ("H" "α░╣")
  94.   ("l" "α░▓")
  95.   ("L" "α░│")
  96.   ("v" "α░╡")
  97.   ("S" "α░╢")
  98.   ("x" "α░╖")
  99.   ("s" "α░╕")
  100.   ("X" "α░òα▒ìα░╖")
  101.   ("h" "α▒ì")
  102.   ("M" "α░Ö")
  103.   ("V" "α░₧"))
  104.  
  105.  (independent
  106.   ("a" "α░à")
  107.   ("A" "α░å")
  108.   ("i" "α░ç")
  109.   ("I" "α░ê")
  110.   ("u" "α░ë")
  111.   ("U" "α░è")
  112.   ("q" "α░ï")
  113.   ("Q" "α▒á")
  114.           ("{" "α░î")
  115.           ("}" "α▒í")
  116.   ("e" "α░Ä")
  117.   ("E" "α░Å")
  118.   ("Y" "α░É")
  119.   ("o" "α░Æ")
  120.   ("O" "α░ô")
  121.            ("[" "α░ö")
  122.  
  123.   ("f" "α░é")            
  124.   ("F" "α░ü")
  125.          
  126.            ("]" "α░â")
  127.  ;; (".a" "α░╜")                ; not in Unicode 4.1
  128.   ((M-0) "α▒ª")
  129.   ((M-1) "α▒º")
  130.   ((M-2) "α▒¿")
  131.   ((M-3) "α▒⌐")
  132.   ((M-4) "α▒¬")
  133.   ((M-5) "α▒½")
  134.   ((M-6) "α▒¼")
  135.   ((M-7) "α▒¡")
  136.   ((M-8) "α▒«")
  137.   ((M-9) "α▒»")
  138.  
  139.   ((M-q) "α▒â")
  140.   ((M-e) "α░┐") 
  141.   ((M-r) "α▒ä")
  142.   ((M-y)  "α▒ê")
  143.   ((M-u) "α▒ü")
  144.   ((M-i) "α░┐") 
  145.   ((M-o) "α▒è")
  146.   ((M-[) "[")
  147.   ((M-]) "]")
  148.   ((M-a) "α░╛")
  149. ;;  ((M-l) )  to determine unicode for this matra lu in ottu form
  150.   ((M-;) "{") 
  151.   ((M-')  "}")
  152.   ((M-,)  08205) ;; ZWJ
  153.   ((M-.)  08204) ;; ZWNJ
  154. ;;  ((M-/) )  avagraha
  155.   ((M-E) "α▒Ç") 
  156. ;;  ((M-Y)) need to check this with Tirumala is it tsa matra?
  157.   ((M-U) "α▒é") 
  158.   ((M-I) "α▒Ç")
  159.   ((M-O) "α▒ï") 
  160.   ((M-[)"α▒î")
  161.   ((S-\ ) "ΓÇî")                ; not in ITRANS Telugu table
  162.   ((C-@) "ΓÇì"))                ; not in ITRANS Telugu table
  163.  
  164.  (dependent
  165.   ("a"  "")
  166.   ("A"  "α░╛")
  167.   ("i"  "α░┐")
  168.   ("I" "α▒Ç")
  169.   ("u" "α▒ü")
  170.   ("U" "α▒é")
  171.   ("q"  "α▒â")
  172.   ("Q"  "α▒ä")
  173.   ("e"  "α▒å")
  174.   ("E" "α▒ç")
  175.   ("Y"  "α▒ê")
  176.   ("o" "α▒è")
  177.   ("O" "α▒ï")
  178.             ("[" "α▒î"))
  179.  
  180.  (return
  181.   ((Return)))
  182.  
  183.  (backspace
  184.   ((BackSpace) (undo))))
  185.  
  186. (state
  187.  (init
  188.   (starter (pushback 1) (shift intermediate)))
  189.  
  190.  (intermediate
  191.   (consonant (shift second))
  192.   (independent (shift init))
  193.   (backspace)
  194.   (return (shift init)))
  195.  
  196.  (second
  197.   (consonant)
  198.   (dependent (shift init))
  199.   (backspace)
  200.   (return (shift init))))
  201.  
  202. ;; Local Variables:
  203. ;; coding: utf-8
  204. ;; mode: emacs-lisp
  205. ;; End:
  206.